Experiment Overview

Position control is fundamental to flight control actuators, robotic arms, gimbal systems, and telescope pointing mechanisms. The challenge is achieving a fast, accurate step response while also tracking continuously-changing reference inputs (like a ramp command) without accumulating position error. This lab designed and implemented a PV controller meeting second-order transient specifications, then demonstrated why adding an integral term is necessary to eliminate the persistent error that appears when the system must track a ramp reference.

Simulated PV step response – ideal position tracking, t?=0.194 s, PO=5%
Figure 1: Simulated PV step response — tp=0.194 s, PO=5%
Filtered PV simulated step response showing effect of low-pass filter on velocity feedback
Figure 2: Filtered PV simulated step response — low-pass filter effect on velocity feedback
Implemented PV step response on hardware – t?=0.170 s, PO=7.86%, ess=0.004 rad
Figure 3: Hardware PV step response — tp=0.170 s, PO=7.86%

Equipment & Tools

Controller Design

The desired transient specs (tp = 0.20 s, PO = 5%) were mapped to second-order system parameters: ζ = 0.69 and ωn = 21.7 rad/s. The PV gains were then derived analytically:

kp = τωn² / K = 7.82 V/rad

kv = (2ζωnτ − 1) / K = −0.157 V·s/rad

Since a PV controller makes the position loop a Type-1 system, a ramp input produces a predictable non-zero steady-state error ess = R(1 + Kkv) / (Kkp) = 0.214 rad. Adding an integral gain ki = 38.9 V/(rad·s) upgraded the controller to PIV, eliminating this error by continuously accumulating and correcting residual position deviation.

PV controller – simulated ramp response, ess=0.213 rad
Figure 4: PV controller — simulated ramp response, ess=0.213 rad
PV controller – measured ramp response on hardware, ess=0.186 rad
Figure 5: PV controller — hardware ramp response, ess=0.186 rad
PIV controller – simulated ramp response with near-zero steady-state error, ess=0.005 rad
Figure 6: PIV controller — simulated ramp response, ess=0.005 rad

Key Results

Testtp (s)PO (%)ess (rad)
Step sim (PV)0.1945.00
Step impl (PV)0.1707.860.004
Ramp sim (PV)0.213
Ramp impl (PV)0.186
Ramp sim (PIV)0.005
Ramp impl (PIV)0.007
PIV controller — measured ramp response on hardware, ess=0.007 rad (97% reduction vs PV)
Figure 7: PIV controller — hardware ramp response, ess=0.007 rad (97% reduction vs PV)

Valuable Takeaways

← Back to Dynamics & Control Labs